package com.ruoyi.locate.mapper;

import java.util.List;
import com.ruoyi.locate.domain.WWarehouseMapScale;

/**
 * 仓位标尺Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-06 13:13:08
 */
public interface WWarehouseMapScaleMapper 
{
    /**
     * 查询仓位标尺
     * 
     * @param scaleId 仓位标尺主键
     * @return 仓位标尺
     */
    public WWarehouseMapScale selectWWarehouseMapScaleByScaleId(Long scaleId);

    /**
     * 查询仓位标尺列表
     * 
     * @param wWarehouseMapScale 仓位标尺
     * @return 仓位标尺集合
     */
    public List<WWarehouseMapScale> selectWWarehouseMapScaleList(WWarehouseMapScale wWarehouseMapScale);

    /**
     * 新增仓位标尺
     * 
     * @param wWarehouseMapScale 仓位标尺
     * @return 结果
     */
    public int insertWWarehouseMapScale(WWarehouseMapScale wWarehouseMapScale);

    /**
     * 修改仓位标尺
     * 
     * @param wWarehouseMapScale 仓位标尺
     * @return 结果
     */
    public int updateWWarehouseMapScale(WWarehouseMapScale wWarehouseMapScale);

    /**
     * 删除仓位标尺
     * 
     * @param scaleId 仓位标尺主键
     * @return 结果
     */
    public int deleteWWarehouseMapScaleByScaleId(Long scaleId);

    /**
     * 批量删除仓位标尺
     * 
     * @param scaleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWWarehouseMapScaleByScaleIds(Long[] scaleIds);

    /**
     * 清空w_warehouse_map_scale
     */
    public int cleanWarehouseMapScale();

    /**
     * 查询仓位标尺
     *
     * @param parentId 仓位标尺父Id
     * @return 仓位标尺
     */
    public List<WWarehouseMapScale> selectWWarehouseMapScaleByparentId(Long parentId);
}
